 
import Vue from 'vue'
import api from "./../../api/Header"
import * as types from '../mutation-types'
import VueLocalStorage  from 'vue-localstorage'

// initial state
const state = { 
    Headershrink:false, 
}

// getters
const getters = { 
  'Headershrink':state => {
    return state.Headershrink
  }, 
}



// actions
const actions = {   
  editUserPassword({commit}, condition){ 
      api.editUserPassword(condition.params).then(reply => {  
          condition.cb && condition.cb(reply.data)
      })
  }, 
};



// mutations
const mutations = {   
  ['modifyHeadershrink'] (state, Headershrink){ 
    state.Headershrink = Headershrink; 
  }, 
};

export default {
  state,
  getters,
  actions,
  mutations
}

